6
4 4 3 3 0 2
0 square
1 tri
2 noise
3 sine
4 ptri